package com.zdzx.model.service.content.vo;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zdzx.model.entity.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "企业档案", description = "企业档案")
@TableName("content_enterprise_records")
public class EnterpriseRecords extends BaseEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "姓名", name = "realName")
	private String realName;
	@ApiModelProperty(value = "职位", name = "position")
	private String position;
	@ApiModelProperty(value = "民族", name = "nation")
	private String nation;
	@ApiModelProperty(value = "企业名称", name = "enterprise")
	private String enterprise;
	@ApiModelProperty(value = "政治面貌", name = "face")
	private String face;
	@ApiModelProperty(value = "个人头像", name = "personalPhotos")
	private String personalPhotos;
	private String address;
/*
	public void setPersonalPhotos(String personalPhotos,boolean flag) {
		if(!StringUtils.isEmpty(personalPhotos)&&!personalPhotos.contains(SystemConfig.ossIp)&&flag)
		this.personalPhotos = SystemConfig.ossIp+personalPhotos;
		else
		this.personalPhotos=personalPhotos;
	}
	public void setPersonalPhotos(String personalPhotos) {
		if(!StringUtils.isEmpty(personalPhotos)&&!personalPhotos.contains(SystemConfig.ossIp))
		this.personalPhotos = SystemConfig.ossIp+personalPhotos;
		else
		this.personalPhotos=personalPhotos;
	}*/
}
